package com.gun.management.module.raffle.controller.app.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "app - 用户抽奖奖品 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppLotteryPrizeRespVO {

    @Schema(description = "奖品id(APP用户领奖时需要)", requiredMode = Schema.RequiredMode.REQUIRED, example = "20566")
    @ExcelProperty("奖品id")
    private Long prizeId;

    @Schema(description = "中奖记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20566")
    @ExcelProperty("中奖记录id")
    private Long lotteryLogId;


    /**
     * 头像
     */
    @Schema(description = "奖品头像", requiredMode = Schema.RequiredMode.REQUIRED, example = "http://www.****.com/images/test.png")
    @ExcelProperty("奖品头像")
    private String avatar;

    /**
     * 奖品名称
     */
    @Schema(description = "奖品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "键盘")
    @TableField(exist = false)
    @ExcelProperty("奖品名称")
    private String name;

    /**
     * 提示语
     */
    @Schema(description = "提示语", requiredMode = Schema.RequiredMode.REQUIRED, example = "喜得键盘一枚")
    @TableField(exist = false)
    @ExcelProperty("提示语")
    private String prompt;

    @Schema(description = "抽奖概率", example = "10")
    private Integer prizeProbability;

    @Schema(description = "单次抽奖消耗积分", example = "10")
    private Integer expenseScore;

    @Schema(description = "每人抽奖总次数", example = "10")
    private Integer totalTimes;

    @Schema(description = "每人每天抽奖次数", example = "10")
    private Integer dayTotalTimes;


    @Schema(description = "奖品类别", example = "21")
    private Integer prizeCategory;

    @Schema(description = "奖品限制数量", example = "0")
    private Integer prizeQty;


    @Schema(description = "租户id", example = "1")
    private Long tenantId;


    @Schema(description = "用户id", example = "1")
    private Long userId;

    @Schema(description = "抽奖id", example = "3")
    private Long lotteryId;

    @Schema(description = "产品id", example = "1")
    private Long productId;

    @Schema(description = "sku商品id", example = "1")
    private Long skuId;

    @Schema(description = "sku", example = "红色")
    private String sku;


}